package gui;

import java.awt.Color;

public enum SeatState
{
	FREE, TAKEN, DEFAULT, CHECK, CALL, RAISE, FOLD;
	
	public Color toColor()
	{
		switch (this)
		{
			case FREE:
				
				return Color.GREEN;
			
			case TAKEN:
				
				return Color.RED;
			
			case DEFAULT:
				
				return Color.BLUE;
			
			case CHECK:
			case CALL:
				
				return Color.GREEN;

			case RAISE:
				
				return Color.YELLOW;

			case FOLD:
				
				return Color.RED;
		}
		
		return Color.BLUE;
	}
}